001 - Yokan Party(★4)
最小値の最大化は二分探索
$ m
以上のピースが
$ K
個作れるか?これは貪欲でOK
https://atcoder.jp/contests/typical90/submissions/58665308